<%= turbo_frame_tag(@picture) do %>
  <%= alchemy_form_for @picture,
    url: alchemy.admin_picture_path(
      @picture,
      search_filter_params.merge(
        size: @size,
        picture_index: picture_index
      ).to_h
    ),
    remote: false,
    class: "picture-form" do |f| %>
    <%= f.input :name %>
    <%= render "alchemy/admin/pictures/picture_description_field", f: f %>
    <%= render Alchemy::Admin::TagsAutocomplete.new(additional_class: "input") do %>
      <%= f.label :tag_list %>
      <%= f.text_field :tag_list, value: f.object.tag_list.join(",") %>
      <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
    <% end %>
    <%= f.submit Alchemy.t(:save) %>
  <% end %>
<% end %>
